iShell Help
Tribeworks > iShell > Events >
  Focused
   
The Focus event is triggered when the runtime's focus changes. This can be the result of a Focus command, a new document loading, the user mouse clicking on an element or by hitting the Tab key. A Focus event is not triggered when the document is unloaded.

The runtime has one and only one focused element. The default is the runtime's root element; but different elements may grab the focus when loaded (such as the first editable Field element). The runtime sends Keyboard events to the focused element; and if not handled upwards to its container. The focus is a runtime Setting with input and output target arguments.

Element: This event can be used in any model element.

Options

  • Yes: Will trigger the event when the element becomes the focus.
  • No: Will trigger the event when the element loses the focus.